package me.qingy.core.mapper;

import me.qingy.core.entity.UserOnline;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 在线用户记录 Mapper 接口
 * </p>
 *
 * @author qingy
 * @since 2021-04-28
 */
public interface UserOnlineMapper extends BaseMapper<UserOnline> {

    List<UserOnline> selectOnlineByExpired(@Param("expiredDate") Date expiredDate);
}
